package xyz.zhzby.cyzx.judge.service.impl;

import xyz.zhzby.cyzx.judge.entity.Language;
import xyz.zhzby.cyzx.judge.mapper.LanguageMapper;
import xyz.zhzby.cyzx.judge.service.ILanguageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 编程语言 服务实现类
 * </p>
 *
 * @author zby
 * @since 2022-02-03
 */
@Service
public class LanguageServiceImpl extends ServiceImpl<LanguageMapper, Language> implements ILanguageService {

    @Override
    public List<Language> getAllLanguages() {
        return this.list();
    }

}
